package com.liy.cloud.base.dao;

import com.liy.cloud.base.entity.BaseEquParamEntity;
import com.das.framework.common.dao.IBaseDao;
import com.das.framework.common.vo.PageVO;

import java.util.List;

/**
* @Author:  zhangw
* @Date:    2018/6/22  9:56
* @Description:
*
**/
public interface BaseEquParamDao extends IBaseDao<BaseEquParamEntity, String> {


    /**
     * 查询设备参数按设备分组
     *
     * @return
     * @auther zhangw
     * @date 2018/11/02 9:11
     */
    List<String> selectEquIdGroup() throws Exception;


    /**
     *
     * 功能描述: 通过设备id删除
     *
     * @param: equId 设备编号
     * @return:
     * @auther: zhangw
     * @date: 2018/11/5 20:06
     */
    int deleteByEquId(String equId) throws Exception;


    /**
     *
     * 点击树根据节点查询
     *
     * @param:
     * @return:
     * @auther: zhangw
     * @date: 2018/11/5 20:06
     */
    List<BaseEquParamEntity> selectByTreeNodePage(BaseEquParamEntity var1, PageVO<BaseEquParamEntity> var2);
}
